<div id="jhpayform" style='border:none;position: relative;'><iframe
    style='width:100%;border:none;height: 600px' id="jhpayformIframe"
    src='https://hanpeng.oemsaas.cn/checkouts/payment/jhpaystripe/stripeForm?jhpay=1&store_id=26817&order_number=TD2023083128592&local_token=6d4c3768fdb246f96a71b2439f233106'></iframe>
</div>
<script language="javascript">
  moi.appendLoading({ theme: 'light', container: '#jhpayform' });
  var jhpayformIframe = document.getElementById('jhpayformIframe')
  window.addEventListener('message', function (event, s) {
    if (event.data.type == 'jhpaystripe' && event.data.code == 200) {
      moi.removeLoading("#jhpayform");
    }
    if (event.data.code == 300) {
      jhpayformIframe.contentWindow.postMessage({ type: "jhpaystripe", code: 200 }, '*');
    }
  }, false)
</script>